package org.ws.task.listener.item;

import org.ws.task.model.protocol.CommitRequest;
import org.ws.task.model.protocol.CommitResponse;

/**
 * 完成后提交Listener
 */
public interface ItemCommitListener extends TaskItemListener {

    void beforeCommit(CommitRequest request);

    void afterCommit(CommitRequest request, CommitResponse response);

    void onCommonError(CommitRequest request,Throwable e);

}
